Skip to content

Instantly share code, notes, and snippets.

@dongsik-yoo
dongsik-yoo / .gitignore
Last active May 10, 2024 07:44
javascript i18n automation with google spread sheet
# locale json files
/assets/locales/

How to install game-porting-toolkit (aka proton for macOS)

You also might wanna just use Whisky which does this automatically

This guide works on macOS 13.4+ using Command Line Tools for XCode 15 Beta!

What is this?

In the recent WWDC, Apple announced and released the "game porting toolkit", which upon further inspection this is just a modified version of CrossOver's fork of wine which is a "compatibility layer" that allows you to run Windows applications on macOS and Linux.

@revant
revant / README.md
Last active May 10, 2024 07:41
ERPNext Development for beginners

Prerequisites:

  • "git" things to know
    • create app's git repo
    • create fork repo
    • create feature branch
    • send, approve and accept merge request
    • git tags, prepare release script.
    • push release to HEAD branch, e.g version-13, version-12, etc.
  • docker
@liamgriffiths
liamgriffiths / traceroute.js
Last active May 10, 2024 07:40
traceroute clone in javascript
// sloppy traceroute clone
// inpired by https://blogs.oracle.com/ksplice/entry/learning_by_doing_writing_your
// and made possible by https://www.npmjs.org/package/raw-socket
var raw = require('raw-socket');
var dns = require('dns');
var target = process.argv[2] || '173.230.146.29';
var MAX_HOPS = 64;
var TIME_LIMIT = 5000;
List of supported emojis in the game client:
1. ๐Ÿ˜ƒ U+1F603 9. ๐Ÿ˜› U+1F61B 18. ๐Ÿ˜ฅ U+1F625
2. ๐Ÿ˜Š U+1F60A 10. ๐Ÿ˜Ž U+1F60E 19. ๐Ÿ˜ญ U+1F62D
3. ๐Ÿ‘Ž U+1F44E 11. ๐Ÿ˜ U+1F60F 20. ๐Ÿ˜ˆ U+1F608
3. ๐Ÿ‘ U+1F44D 12. ๐Ÿ˜‘ U+1F611 21. โœ‹ U+270B
4. ๐Ÿ˜€ U+1F600 13. ๐Ÿ˜  U+1F620 22. ๐Ÿ‘ผ U+1F47C
5. ๐Ÿ˜ฌ U+1F62C 14. ๐Ÿ˜ก U+1F621 23. โ˜ ๏ธ U+2620
6. ๐Ÿ˜† U+1F606 15. ๐Ÿ˜– U+1F616 24. โ˜ U+261D
7. ๐Ÿ˜ U+1F60D 16. ๐Ÿ˜ฎ U+1F62E
@patriknyblad
patriknyblad / xcrun_simctl_cheatsheet.md
Last active May 10, 2024 07:36
iOS Simulator Terminal Commands `$ xcrun simctl`

Managing iOS Simulators

List all simulators created

$ xcrun simctl list --json

Delete old and unavailable simulators

$ xcrun simctl delete unavailable
@ehizman
ehizman / UsernamePasswordAuthenticationFilter.java
Last active May 10, 2024 07:34
Implementation of a UsernamePassword Authentication Filter
/*
* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active May 10, 2024 07:33
ๅ›ฝๅ†…็š„ Docker Hub ้•œๅƒๅŠ ้€Ÿๅ™จ๏ผŒ็”ฑๅ›ฝๅ†…ๆ•™่‚ฒๆœบๆž„ไธŽๅ„ๅคงไบ‘ๆœๅŠกๅ•†ๆไพ›็š„้•œๅƒๅŠ ้€ŸๆœๅŠก | Dockerized ๅฎž่ทต https://github.com/y0ngb1n/dockerized

Docker Hub ้•œๅƒๅŠ ้€Ÿๅ™จ

ๅ›ฝๅ†…ไปŽ Docker Hub ๆ‹‰ๅ–้•œๅƒๆœ‰ๆ—ถไผš้‡ๅˆฐๅ›ฐ้šพ๏ผŒๆญคๆ—ถๅฏไปฅ้…็ฝฎ้•œๅƒๅŠ ้€Ÿๅ™จใ€‚Docker ๅฎ˜ๆ–นๅ’Œๅ›ฝๅ†…ๅพˆๅคšไบ‘ๆœๅŠกๅ•†้ƒฝๆไพ›ไบ†ๅ›ฝๅ†…ๅŠ ้€Ÿๅ™จๆœๅŠกใ€‚

Dockerized ๅฎž่ทต https://github.com/y0ngb1n/dockerized

้…็ฝฎๅŠ ้€Ÿๅœฐๅ€

Ubuntu 16.04+ใ€Debian 8+ใ€CentOS 7+

@Flowgun
Flowgun / Accelerated Scrolling 1.5.ahk
Last active May 10, 2024 07:32 — forked from jasonsparc/Accelerated Scrolling 1.3.ahk
Accelerated Scrolling v1.5
/* ; _____________________________________________________________________________
; Improved Accelerated Scrolling By Flowgun
; original Accelerated Scrolling: V1.3 By BoffinbraiN
; Major Changes (v1.5):
; - Reloading at Logon/unlocking: The mouse hook can get
; released when the session is locked/closed. Now the
; script reloads itself to rehook the ScrollWheel hotkeys
; - changed the default acceleration values.
; Major Changes (v1.4):